import cn.jja8.config.tool.Conf;
import cn.jja8.config.tool.YamlConfig;

import java.io.File;

public class 测试哈 {
    public static class MyClass{
        @Conf int age = 14;
        @Conf String name = "小明";
    }
    public static void main(String[] args) {
        MyClass myClass = new MyClass();
        new YamlConfig()
                .load(new File("youConfig.yml"))
                .as(myClass)
               .save(new File("youConfig.yml"));
    }


}
